package com.mall.b2c.hessian;

import com.mall.b2c.bean.IntergralShopOrderBean;
import com.mall.common.hessian.BaseHessian;

import java.util.List;

public interface IntergralHessian extends BaseHessian {
    /**
     * 获取积分商品
     * @param classId 分类id
     */
    public String getShopProductList(Long classId,String orderby);


    /**
     * 获取商品种类列表
     *
     */
    public String getShopClassList();


    /****
     *
     * 获取用户订单列表列表
     *  @param userid 用户id
     */

    public String getOrderlist(Long userid,String orderby);


    public String getProductDetail(Long id);
    /**购买*/
    public String exchange(String name,String phone,String address,int num,Long productId,Long MemberId);


    public String getIntergralByUserId(Long userid);

    String getIntergralLogList(Long userid, Integer pageNumber);

    void createOrder(Long currStoreId, Long memberId, Long[] cartItemIds, String name, String phone, String address,Long store);
}
